const category = () => import('../../views/category/category')

export const categoryRouters = [{
    path: '/category',
    component: category,
    // 分类 三级分类
    children: [{
        path: 'summer',
        component: () => import('../../components/categorys/summerMain'),
        children: [{
          path: 'Watermelon',
          component: () => import('../../components/categorys/summer/watermelon')
        }, ]
      },
      {
        path: 'autumn',
        component: () => import('../../components/categorys/autumn')
      },
      {
        path: 'winter',
        component: () => import('../../components/categorys/winter')
      },
      {
        path: 'spring',
        component: () => import('../../components/categorys/spring')
      },
      {
        path: '',
        redirect: '/category/summer'
      }
    ]
  },
  // 夏季水果路由 
  {
    path: '/summerFruits',
    component: () => import('../../components/summerFruits/summerFruitsMain'),
    // 夏季水果路由 以下路由 西瓜 黑美人
    children:[{
      path:'watermelonMain',
      component: ()=>import('../../components/summerFruits/watermelonMain'),
      children:[{
        path:'thirdMenu',
        component: ()=>import('../../components/summerFruits/thirdFruitsNav'),
      },
    ]
    }]
  },
]